import os

s = 'cd ../%s* && fpc  example.pas && example.exe'
for i in range(12, 62):
    os.system(s % i)
    ans = input("if got error, type 1 else enter>")
    while ans:
        os.system(s % i)
        ans = input("if got error, type 1 else enter>>>")
